<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<div class="head_box">
         <div id="head_wrap">
             <div id="head_right">
                 <div id="head_landing">
                 	<c:if test="${sessionScope.loginUser == null}">
                 		<a class="head_nav_a" href="<%=basePath%>login.jsp">登陆</a>
                     <span>|</span>
                     <a class="head_nav_a" href="<%=basePath%>register.jsp">注册</a>
					</c:if>
                     <c:if test="${sessionScope.loginUser != null}">
                     <a class="head_nav_a" href="<%=basePath%>user/index.jsp">个人中心</a>
                     </c:if>
                 </div>
<!--                  <div id="head_car"> -->
<!--                      <a class="head_car_text" href="cart.jsp">购物车</a> -->
<!--                      <div id="car_content" style="height: 0px;width:0px ;background-color: #edffc6;z-index: 999"> -->
<!--                          <a class="car_text"></a> -->
<!--                      </div> -->
<!--                  </div> -->
             </div>
         </div>
     </div>
     <div id="main_head_box">
         <div id="menu_wrap">
             <div id="menu_logo">
                 <a href="<%=basePath%>index.jsp"><img src="<%=basePath%>img/new_logo.jpg" style="position:absolute;width:100px;top:0px;"></a>
             </div>
             <div id="menu_nav">
                 <ul>
                     <a style="color:#000;" href="<%=basePath%>index.jsp"><li control="xiaomiphone">首页</li></a>
                     <a style="color:#000;" href="<%=basePath%>index.jsp?productCateId=1"><li control="hongmiphone">电脑租赁</li></a>
                     <a style="color:#000;" href="<%=basePath%>index.jsp?productCateId=2"><li control="pingban">电脑购买</li></a>
                     <a style="color:#000;" href="<%=basePath%>index.jsp?productCateId=3"><li control="yingjian">便民服务</li></a>
                 </ul>
             </div>
         </div>
     </div>